export class User {
  private uid: number = 0;
  private username: string = "null";
  private password: string = "null";

  setUid(uid:number){
    this.uid=uid
  }
  getUid(){
    return this.uid
  }
  setUsername(username:string){
    this.username=username
  }
  getUsername(){
    return this.username
  }

  setPassword(password:string){
    this.password=password
  }
  getPassword(){
    return this.password
  }

  constructor(uid?: number, username?: string, password?: string) {
    this.uid = uid?uid:0;
    this.username = username?username:"";
    this.password = password?password:"";
  }

}